<%-- 
    Document   : index
    Created on : 3 nov. 2014, 09:26:41
    Author     : sio
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>GSB medecin</title>
    </head>
    <body>
        <h1>Départements :</h1>
        <form action="control?uc=dep" method="POST">
            <fieldset>
                <legend>Départements</legend>
                Choisis ton département :
                <select name="numDep">
                    <c:forEach var="Dep" items="${lesDeps}">
                        <option value="${Dep.num}">${Dep.num}</option>
                    </c:forEach>
                </select>
                <br/>
                <input type="submit" value="Valider" />
            </fieldset>
        </form>
        <a href="control?uc=nom">Nouvelle recherche</a>
    </body>
</html>
